import axios from '@/utils/request'

export const getPersonGroupInfo = (params) => {
    let personGroupInfo = axios.post('/index/comminfo/getPersonGroupInfo',{params})
    return personGroupInfo  
}

export const editPersonGroupInfo = (type,data) => {
    let editPersonGroup = axios.post('/index/comminfo/editPersonGroupInfo',{type,data})
    return editPersonGroup
}

export const batchEditPersonGroupInfo = (type,data) => {
    let batchEditPersonGroup = axios.post('/index/comminfo/batchEditPersonGroupInfo',{type,data})
    return batchEditPersonGroup
}
